package com.share.example.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.example.stock.model.db.SectorSpot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author author
 * @since 2023-06-03
 */
public interface SectorSpotMapper extends BaseMapper<SectorSpot> {

    int insertbatch(@Param("list") List<SectorSpot> list);

    int deleteByDateAndIndicator(@Param("date") String date, @Param("indicator") String indicator);

    int updateByLableAndDate(@Param("lable") String lable, @Param("record")SectorSpot record);
}
